<#assign title="我的评论" />
<#include 'member_header.html' />
<!-- 获取会员等待评论商品标签 -->
<#assign memberWaitCommontListTag = newTag("memberWaitCommontListTag")>
<!-- 调用会员等待评论商品标签 -->
<#assign memberWaitCommontList = memberWaitCommontListTag()>

<div class="data">
	<h2>我的评论</h2>
</div>
<!--温馨提示-->
<div class="tip">
	<div class="top"></div>
	<div class="body">
		<@image src="${ctx}/themes/default/images/gth.jpg" />

		<div>
			<h2>温馨提示</h2>
			<p>1、这里将显示您的咨询信息</p>
			<p>2、您还可以查看您的咨询信息以及管理员的回复等</p>
		</div>
	</div>
	<div class="bottom"></div>
</div>
<!--温馨提示结束-->
<div class="tab">
	<ul>
		<li ><a href="comments.html"><span>我的评论</span>
		</a>
		</li>
		<li class="selected"><a href="waitcommont.html" ><span>待评论的商品</span>
		</a>
		</li>
	</ul>
</div>
<div class="box commontlist">

<div class="top"></div>
	<div class="body">
		<#if memberWaitCommontList?size gt 0 >
		<table cellspacing="0" cellpadding="0" style="width:100%">	
			<tr>
				<th class="checkbox">&nbsp;&nbsp;</th>
				<th>商品图片</th>
				<th>商品名称</th>
				<th>商品编号</th>
				<th>商品价格</th>
				<th>操作</th>
			</tr>
		<#list memberWaitCommontList.waitcommentsList as goods>
	   		<tr class="hovertr">
				<td class="checkbox">&nbsp;&nbsp;</td>
				<td class="img">
					<a href="../goods-${goods.goods_id}.html"  title="${goods.name}" class="img">
						<@image src="${goods.thumbnail!''}" alt="${goods.name}" height="55" width="55" />
					</a>
				</td>
				<td class="param"><a href="../goods-${goods.goods_id}.html">${goods.name}</a></td>
				<td>
					<span>${goods.sn}</span>
				</td>
				<td><strong>￥${goods.price?string("0.##")}</strong></td>
				<td class="oper" style="width:80px;">
					<a goodsid="${goods.goods_id}"  class="favorite"  href="javascript:;">加入收藏</a>
				</td>
			</tr>
		</#list>
		</table>
	<div class="pager_border">
	<@pager pageno="${page!'1'}" pagesize="${memberWaitCommontList.pageSize}" totalcount="${memberWaitCommontList.totalCount}" />
	<div class="clear"></div>
</div>
<#else>
<div class="empty" >您尚未评价过商品</div>
</#if>
</div>	
<div class="bottom"></div>
</div>
<div class="box commontwait">
	<!-- 已经购买等待评论的商品 -->
</div>
</div>
<div class="rr_bottom"></div>
</div>
<!--会员中心首页右侧结束-->
</div>
</div>
<script>
	$(function() {
		Favorite.init();
		$(".waitcomment").click(function() {
			$(".tab ul li").removeClass("selected");
			$(this).parent().addClass("selected");
			$(".commontwait").load("waitcommont.html", function() {
				$(".commontlist").hide();
				$(".commontwait").show();
				Favorite.init();
			})
		})
	})
</script>
<#include '../common/footer.html'/>

	
	